<template>
  <div>
    <el-timeline :reverse="reverse">
    <el-timeline-item
      v-for="(activity, index) in activities"
      :key="index"
      :timestamp="activity.timestamp">
      {{activity.content}}
    </el-timeline-item>
  </el-timeline>
  </div>
</template>

<script>
export default {
    data() {
        return {
            reverse: true,
        }
    },
    props: {
        activities: {
            type: Array,
            required: true
        }
    }
}
</script>

<style>

</style>